<template>
  <a-config-provider :locale="locale">
    <div id="app" class="app app1">
      <router-view class="scrollbar"/>
    </div>
  </a-config-provider>
</template>

<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
import { AppDeviceEnquire } from '@/utils/mixin'

export default {
  mixins: [AppDeviceEnquire],
  data () {
    return {
      locale: zhCN
    }
  },
  mounted () {

  }
}
</script>
<style lang="less">
  #app {
    font-family: "Avenir", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
    margin: 0;
    height: 100%;
    width: 100%;
    padding: 0;
  }
  .app {
    overflow: auto;
    border  : none;
  }
  .scrollbar {
    margin: 0 auto;
  }
  .app1::-webkit-scrollbar {
    /*滚动条整体样式*/
    width : 8px;  /*高宽分别对应横竖滚动条的尺寸*/
  }
  .app1::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 6px;
    background   : #aaa;
  }
  .app1::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    border-radius: 8px;
    background   : #FFFFFF;
  }
  .modal-full-screen {
  .ant-modal-header {
    padding: 5px 12px;
    background-color: rgba(38,63,140,.8);
  }
  .ant-modal {
    width: 100% !important;
    height: 100%;
    top: 0px !important;
    margin: 0px;
    padding-bottom: 0px;
    position: fixed;
  }

  .ant-modal-body{
    padding: 0 !important;
  }
  .ant-modal-content {
    height: 100%;
    overflow: hidden;
  }
  .ant-modal-close-x, .ant-modal-title {
    color: #fff;
  }
  .ant-modal-close-x {
    width: 33px;
    height: 33px;
    line-height: 33px;
    font-size: 13px;
  }
  .ant-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    padding: 0;
    color: rgba(0,0,0,.45);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: 0 0;
    border: 0;
    outline: 0;
    cursor: pointer;
    transition: color .3s;
  }
}
.color-dropdown{
  .el-color-dropdown__btns{
    button:nth-of-type(1){
      display: none !important;
    }
  }
}
</style>
